package com.asset.dispoal.evidenceconfig.api;

import com.asset.dispoal.evidenceconfig.dto.request.BsEvidenceConfItemDetailRequest;
import com.asset.dispoal.evidenceconfig.dto.response.BsEvidenceConfItemDetailResponse;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

import java.util.List;
import java.util.Map;

/**
 * @author qr
 * @date 2021/10/21$
 */
public interface BsEvidenceConfItemDetailService {

    /**
     * 分页条件查询
     *
     * @param bsEvidenceConfItemDetailRequest
     * @return
     */
    PageVO<BsEvidenceConfItemDetailResponse> queryPage(BsEvidenceConfItemDetailRequest bsEvidenceConfItemDetailRequest);

    /**
     * 添加修改
     *
     * @param bsEvidenceConfItemDetailRequest
     */
    void insertOrUpdate(BsEvidenceConfItemDetailRequest bsEvidenceConfItemDetailRequest);


    List<Map<String, String>> findMapper(String batchId);

    void batchInsertOrUpdate(List<BsEvidenceConfItemDetailRequest> BsEvidenceConfItemDetailRequest);


    void delete(String id);

}
